public class Types1 {
    public static void main (String[] args){
        System.out.println(6+3);
        System.out.println(6-3);
        System.out.println(6*3);
        System.out.println(6/3);
        System.out.println(3/6);
        System.out.println(8%7);
        System.out.println(3/6d);
        //double双精度小数
        System.out.println(3/6f);
        //float单精度小数
        double zb = 21;
        System.out.println(zb);
        System.out.printf("%.6f%n",zb);
        float wk = 18;
        System.out.println(wk);
        System.out.println(420f);
        //float型强调小数点
    }

}
